package com.ruoyi.project.instrument.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.io.Serializable;
import java.util.Date;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 仪器操作记录对象 ins_operation_record
 * 
 * @author taney
 * @date 2020-06-08
 */
@Data
@ToString
@EqualsAndHashCode
@NoArgsConstructor
@Accessors(chain = true)
@TableName("ins_operation_record")
public class InsOperationRecord implements Serializable {

private static final long serialVersionUID=1L;


    /** 自增ID */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /** 记录时间 */
    @Excel(name = "记录时间" , width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date recordTime;

    /** 操作人ID */
    private Long userid;

    /** 操作人 */
    @Excel(name = "操作人")
    private String chinesename;

    /** 记录类型 */
    private Long recordType;

    /** 操作类型 */
    @Excel(name = "操作类型")
    private String action;

    /** 更改前 */
    @Excel(name = "更改前")
    private String oldRecord;

    /** 更改后 */
    @Excel(name = "更改后")
    private String newRecord;

    /** 备注 */
    @Excel(name = "备注")
    private String remark;
}
